package com.shenmazong.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "tb_student_coupon")
public class TbStudentCoupon {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer studentId;
    private Integer couponId;
    private Integer status;
    private String endTime;
    private String createTime;

    @TableField(exist = false)
    private Integer teacherId;

    @TableField(exist = false)
    private Long price;

    @TableField(exist = false)
    private String teacherName;

}
